package com.letfox.finance.user.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.letfox.finance.user.dao.FinAccountRlUAccountDao;
import com.letfox.finance.user.model.FinAccountRlUAccount;
import com.letfox.finance.user.service.FinAccountRlUAccountService;

@Service
public class FinAccountRlUAccountServiceImpl implements
		FinAccountRlUAccountService {
	
	@Autowired
	private FinAccountRlUAccountDao finAccountRlUAccountDao;

	@Override
	public int deleteByPrimaryKey(Long id) {
		return finAccountRlUAccountDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(FinAccountRlUAccount record) {
		return finAccountRlUAccountDao.insert(record);
	}

	@Override
	public FinAccountRlUAccount selectByPrimaryKey(Long id) {
		return finAccountRlUAccountDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(FinAccountRlUAccount record) {
		return finAccountRlUAccountDao.updateByPrimaryKeySelective(record);
	}

	@Override
	public FinAccountRlUAccount selectByAccountId(String accountId) {
		return finAccountRlUAccountDao.selectByAccountId(accountId);
	}

}
